package com.sixteen.theGreat.workbench.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class MainController {
    /**
     * middle局部刷新首页
     * @return
     */
    @GetMapping("/workbench/main/home.do")
    public String home(){
        return "workbench/main/home";
    }

    /**
     * middle局部刷新好友列表
     * @return
     */
    @GetMapping("/workbench/main/friendList.do")
    public String friendList(){
        return "workbench/main/friendList";
    }

    /**
     * middle局部刷新我的说说
     * @return
     */
    @GetMapping("/workbench/main/myTalk.do")
    public String myTalk(){
        return "workbench/main/myTalk";
    }

    /**
     * middle局部刷新好友说说
     * @return
     */
    @GetMapping("/workbench/main/friendTalk.do")
    public String friendTalk(){
        return "workbench/main/friendTalk";
    }

}
